<?php

namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Models\Jock;
use App\Models\Renting;
use Illuminate\Http\Request;

class JockController extends Controller
{
    public function index(Request $request){
        $data=Jock::select(['body'])->get();
        return ['code'=>0,'msg'=>'成功','data'=>$data];
    }
}
